using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RolePrivilegeAuditDetail : AuditDetail
	{
		private DataCollection<Guid> _invalidNewPrivileges;
		[DataMember]
		public RolePrivilege[] OldRolePrivileges
		{
			get;
			set;
		}
		[DataMember]
		public RolePrivilege[] NewRolePrivileges
		{
			get;
			set;
		}
		[DataMember]
		public DataCollection<Guid> InvalidNewPrivileges
		{
			get
			{
				if (this._invalidNewPrivileges == null)
				{
					this._invalidNewPrivileges = new DataCollection<Guid>();
				}
				return this._invalidNewPrivileges;
			}
		}
	}
}
